package org.charmsoft.dto;

import java.util.Map;

/**
 * @ Author Allen J L  Chen
 *  This is Class data object to support class generation data mapping.
 */
public class ClassPO {

    private String name;

    private Map<Field, Field> fields;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<Field, Field> getFields() {
        return fields;
    }

    public void setFields(Map<Field, Field> fields) {
        this.fields = fields;
    }

    @Override
    public String toString() {
        return "\"ClassPO\": {" + '\n' +
                "name:'" + name + '\'' +
                ", fields:" + fields + '\n' +
                '}';
    }
}
